package pl.lodz.p.kipme.dao;

import java.util.List;

import pl.lodz.p.kipme.bo.Order;
import pl.lodz.p.kipme.bo.ProductOrder;
import pl.lodz.p.kipme.exception.BusinessException;

public interface OrderDAO {

	void addOrder(Order order) throws BusinessException;

	List<ProductOrder> checkOrderStatus(String orderId);

	List<String> getActiveOrderId();

	void confirmProductReceive(String productOrderId) throws BusinessException;

	ProductOrder getProductOrderByBusinessID(String productOrderId);

	List<Order> getWaitingOrders();

	void updateOrder(Order order) throws BusinessException;

}
